package cn.cdu.medical.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

/**
 * 问诊请求DTO
 */
@Data
@ApiModel(value = "问诊请求")
public class ConsultationRequest {
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /**
     * 症状描述
     */
    @ApiModelProperty(value = "症状描述")
    private String symptoms;

    @ApiModelProperty(value = "问诊内容")
    private String message;

    @ApiModelProperty(value = "对话历史")
    private List<ChatMessage> history;

    @ApiModelProperty(value = "挂号单ID")
    private String orderId;

    @Data
    public static class ChatMessage {
        private String content;
        private String type; // "user" or "ai"
    }
} 